import {taocanRequest, userRequest} from "@/utils/HttpRequest";


export async function findByTaoCanPageList(params:any) {
  //SwaggerResources


  return taocanRequest<API.ListDataType<API.Picture>>(
    "findByPageList", {
      method: "GET",params: {...params}
    })


}

export async function findByTaoCanGoodsList(params:any) {
  //SwaggerResources


  return taocanRequest<API.BaseArrayDataResult<API.GoodsTaoCan>>(
    "findGoodsList", {
      method: "GET",params: {...params}
    })


}
export  async function editTaocan(params:API.TaoCanMaster){
  return taocanRequest<API.BaseResult>("edit",{
    method: "POST",
    data: params
  })
}

